WooCommerce\Square\Handlers\Connection S

Total Complexity 49
Dependencies 6
Dependents 1
Total lines 510
Lines of code 215
Logical lines of code 119
Comment lines 167
Methods 17
Properties 1

Methods 17

Method Rating Maintainability Complexity Lines of code
handle_connected()
A
43 13 45
refresh_connection()
A
44 9 45
index_customers()
S
61 5 12
handle_disconnect()
S
59 4 12
get_connect_url()
S
56 3 18
get_scopes()
S
56 1 21
schedule_refresh()
S
66 2 8
get_refresh_url()
S
79 2 3
schedule_customer_index()
S
72 2 5
get_disconnect_url()
S
72 1 5
__construct()
S
77 1 4
get_disconnect_button_html()
S
66 1 9
get_connect_button_html()
S
66 1 9
add_hooks()
S
70 1 6
unschedule_refresh()
S
79 1 3
disconnect()
S
70 1 7
get_plugin()
S
82 1 3